import IBulletinPageForm from '@/model/form/bulletin/IBulletinPageForm'
import IBulletinVO from '@/model/vo/bulletin/IBulletinVO'
import IPageVO from '@/model/vo/common/IPageVO'
import IResVO from '@/model/vo/common/IResVO'
import $http from '@/util/http'
import { AxiosResponse } from 'axios'

// 分页排序查询：公告
export default function bulletinPageApi(form: IBulletinPageForm) {
  return $http.post<
    IResVO,
    AxiosResponse<IResVO<IPageVO<IBulletinVO>>>,
    IBulletinPageForm
  >('/bulletin/page', form)
}
